package com.ruoyi.web.controller.system.Fdongbei;


import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.system.Fdongbei.domain.TbWx;
import com.ruoyi.system.Fdongbei.service.ITbWxService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author fufeng
 * @since 2024-12-11
 */
@RestController
@RequestMapping("/system/Fdongbei/tb-wx")
public class TbWxController {

    @Resource
    ITbWxService tbWxService;


    @PostMapping("/insertWx")
    public AjaxResult insertWx(@RequestBody TbWx tbWx) {
        return AjaxResult.success(tbWxService.insertWx(tbWx));
    }


}

